package com.assessment.service;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.assessment.dao.EliminateMapper;
import com.assessment.entity.Eliminate;

@Service
public class EliminateService {
	@Resource
	private EliminateMapper eliminateMapper;
	
	public List<Eliminate> selEliminate(){
		return eliminateMapper.selEliminate();
	}


	public Eliminate sel(Integer id){
		return eliminateMapper.sel(id);
	}
	
	public void updEliminate(Eliminate eliminate){
		this.eliminateMapper.updEliminate(eliminate);
	}
	
	public void addEliminate(Eliminate eliminate){
		this.eliminateMapper.addEliminate(eliminate);
	}
	
	
}
